home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
001-025
/
scopedisk15
/
qrt
/
qrtscript
/
poster
next >
Wrap
Text File
|
1995-03-18
|
2KB
|
66 lines
QRT is a GREAT program, but needs some way around all of the typing and
formatting necessary to produce (readable) script files for it. I
decided rather than waste hours and hours typing in the scripts, that I
could write a program that would take care of creating the script files
as well as taking care of a few other details.
I also provided a 'Ground' object, which is just a LARGE parallelogram
that you only need to provide minimal info in defining. The ground is at
(Y=0).
A script that had twenty objects in it could take 30 minutes to type in.
(Even longer if you format if completely) I dare to say that with this
program, the same twenty objects can be entered into a script in less
than five.
For those already familiar with QRT and those that should be (ie.
everybody else):
The location for an object is stored, so that the next object that is
created can use the same location by just pressing return. (This is
ideal for prisms and the like, since one vertex location can define three
sides.)
The variables entered for radius and the coefficients for the quadratic
function are all remembered. I did this, since you may be creating
duplicate spheres, ellipses, cylinders, oblate spheroids, etc; and don't
want to type in that info every time.
The color for the last object is remembered (ie. the diff coefficient),
in case you are creating many similarly colored objects. The other
values have some default associated with them, so that (if you don't want
to use any special characteristics) you can just press return and accept
the defaults. Remember that this program creates a text file, so you can
always edit what you enter, so that you can use bounding boxes or
instances to get even more out of the program.
Be sure and LOOK at the scripts this program creates. The formatting is
very nice. You don't actually have to look, since the files created with
this program are complete and ready to use.
James A. Alexander
PLink: Modula*2
CIS: Yeah, right.